-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Adds refresh to account section #3640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
package.json
Outdated
{ | ||
"command": "gitlens.views.home.account.refresh", | ||
"title": "Refresh", | ||
"category": "GitLens", | ||
"icon": "$(refresh)" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless a command needs to show up in VS Code controlled UI (command palette, menus) we don't need to register them here.
So in this case we can nuke this.
package.json
Outdated
{ | ||
"command": "gitlens.views.home.account.refresh", | ||
"when": "false" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
<gl-button | ||
appearance="toolbar" | ||
href="command:gitlens.views.home.account.refresh" | ||
tooltip="Refresh" | ||
aria-label="Refresh" | ||
><code-icon icon="refresh"></code-icon | ||
></gl-button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we think of this as a "refresh" or a "re-sync"? @justinrobots
If "refresh" then this is good, but I'd change the tooltip to "Refresh Account Status"
If "re-sync" then maybe, use the sync icon and the tooltip to be "Synchronize Account Status"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sync does seem a little more concise and it would add a better distinction from the view's refresh.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.